﻿<telerik:RadWindow x:Class="Rio.Framework.Pages.ChildWindows.AddDocumentChildWindow"
                      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                      xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
                      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                      xmlns:control="clr-namespace:Rio.Framework.Pages.Controls;assembly=Rio.Framework.Pages"
                      xmlns:CustomControls="clr-namespace:Rio.Framework.Pages;assembly=Rio.Framework.Pages"
                      xmlns:viewer="clr-namespace:Rio.Framework.Pages.Viewer;assembly=Rio.Framework.Pages"
                      xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                      mc:Ignorable="d"
                      AllowDrop="True"
                      d:DesignHeight="768"
                      d:DesignWidth="1024">

    <Grid x:Name="LayoutRoot">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" MaxWidth="330" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
        </Grid.RowDefinitions>

        <Border Name="ControlImportPanelParent"
                Grid.Column="0"
                Grid.Row="0"
                HorizontalAlignment="Stretch"
                VerticalAlignment="Stretch">
        </Border>

        <Grid Grid.Column="1"
              Grid.Row="0">
            <Grid.RowDefinitions>
                <RowDefinition />
            </Grid.RowDefinitions>

            <viewer:UCViewer Grid.Column="0"
                             Grid.Row="0"
                             x:Name="ViewerControl"
                             HorizontalAlignment="Stretch"
                             VerticalAlignment="Stretch"
                             Visibility="Collapsed"
                             DisplayCompleted="ViewerControl_DisplayCompleted" />

            <viewer:ThumbnailPanel x:Name="ListVignette"
                                    Grid.Row="0"
                                    Grid.Column="0"
                                    HorizontalAlignment="Stretch"
                                    VerticalAlignment="Stretch"
                                    Visibility="Collapsed" />

            <viewer:ListViewer x:Name="ListViewer"
                               Visibility="Collapsed" />

        </Grid>
        </Grid>
</telerik:RadWindow>